package com.woniuxy.session.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Author: linKe
 * @Date: 2022/1/7 11:38
 * @FileName: SecondKill
 * @version: 1.0
 * @Description: 秒杀实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("second_kill")
public class SecondKill {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    @TableField("name")
    private String name;
    @TableField("update")
    private Date update;

}
